﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model.Dto.Role;
using Model.Other;

namespace Interface
{
    public  interface IRoleService
    {
        Task<bool> Add(RoleAdd req, string userId);
        Task<bool> Edit(RoleEdit req, string userId);

        Task<bool> Del(string id);
        //批量删除
        Task<bool> BatchDel(string ids);
        Task<PageInfo<RoleRes>> GetRoles(RoleReq req,string userId);

    }
}
